package com.site.wisdom_construction.dao.iotModule;

import com.site.wisdom_construction.entity.iotModule.HighSupportsRecord;
import com.site.wisdom_construction.entity.iotModule.WisdomElectricity;
import com.site.wisdom_construction.entity.publicModule.Value;

import java.util.List;
import java.util.Map;

/** @Author daiyifei @Date 2021/12/17 @Description */
public interface WisdomElectricityDao {
  /** 接收平台推送数据 */
  int insertWisdomElectricity(Map map);

  /** 查询最新一条数据 */
  WisdomElectricity findWisdomElectricityByNew(Map map);

  /** 电量统计 */
  List<Value> countWisdomElectricity(Map map);

  /** 电量统计 */
  List<Value> countWisdomElectricityD(Map map);

  /** 分页模糊查询用电量数据 */
  List<WisdomElectricity> findWisdomElectricityByPage(Map map);

  /** 统计总数 */
  long Total(Map map);

  /** 删除智慧用电数据信息 */
  int deleteWisdomElectricity(Map map);
}
